﻿using Kanban.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Kanban.IBLL
{
    public partial interface ILine_SettingService : IBaseService<Line_Setting>
    {
        /// <summary>
        /// 保存
        /// </summary>
        /// <param name="model">model</param>
        /// <returns></returns>
        Task<bool> Save(Line_Setting model);

        /// <summary>
        /// 分页查询
        /// </summary>
        /// <param name="search">搜索条件</param>
        /// <param name="pageSize">页数</param>
        /// <param name="pageIndex">页码</param>
        /// <returns></returns>
        Task<Tuple<IList<object>, int>> GetModelsByPageAsync(string search, int pageSize, int pageIndex);
    }
}
